-
-
Notifications
You must be signed in to change notification settings - Fork 406
London | 26-ITP-Jan | Damian Dunkley | Sprint 2 | Form-Controls #1027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Please can I have some help.
|
…ith Origional/main
…Origional/main-second attempt
|
Updated with changes to meet requirements;
HTML
|
cjyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to https://validator.w3.org/, there are errors in your code. Can you fix them?
Form-Controls/index.html
Outdated
| <div> | ||
| <!-- Email: basic format text@text.text --> | ||
| <label for="email">Email:</label> | ||
| <input type="email" id="email" name="email" required pattern="^[^@\s]+@[^@\s]+\.[^@\s]+$" title="Enter a valid email like user@example.com"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why use pattern in <input type="email"> when browsers can already perform built-in email validation?
|
In the Changelist section of the PR description, I am not sure what you mean by "How to save attributes". Can you update it accordingly to give a brief but clearer description of what you have changed in this PR branch? |
|
CJ-Thanks for your clear and concise review. I believe that I have made changes to align with your comments. Thanks Damian |
cjyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1
Code is good, but the indentation of the code could use some improvement.
2
In the Changelist section of the PR description, I am not sure what you mean by "How to save attributes". Can you update it accordingly to give a brief but clearer description of what you have changed in this PR branch?
| label { | ||
| font-size: 24px; | ||
| } | ||
| </style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you improve the indentation on lines 10, 41, 71-72?
You can use the VSCode's "Format Document" feature to auto-indent the code?
To use the feature, right-click inside the code editor and select the option.

Learners, PR Template
Self checklist
Changelist
How to save attributes
Questions
No outstanding questions yet